﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Management;
using System.Text;

namespace WMI.NET.CIM
{
    /// <summary>
    /// The CIM_Chip class represents the type of integrated circuit hardware, including ASICs, processors, memory chips, and so on.
    /// </summary>
    public class CIM_Chip : CIM_PhysicalComponent
    {

        private Nullable<UInt16> _FormFactor;

        /// <summary>
        /// Implementation form factor for the chip.
        /// </summary>
        public Nullable<UInt16> FormFactor { get { return _FormFactor; } } //TODO Enum

        /// <summary>
        /// 
        /// </summary>
        /// <param name="mbo"></param>
        public CIM_Chip(ManagementBaseObject mbo)
            : base(mbo)
        {
            _FormFactor = mbo.GetUshortValue("FormFactor");
        }

    }
}
